package com.ruoyi.base.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料库存操作对象 base_meterial_stock
 * 
 * @author ruoyi
 * @date 2024-02-04
 */
@Data
public class BaseMeterialStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String meterialName;

    /** 物料规格 */
    @Excel(name = "物料规格")
    private String meterialSpec;

    /** 物料单位 */
    @Excel(name = "物料单位")
    private String meterialUnit;

    /** 物料品牌 */
    @Excel(name = "物料品牌")
    private String meterialBrand;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long number;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private Long storeId;

    private Integer meterialMoveNum;

    private String remark;

    private Short meterialMoveStatus;

    private String  receiveBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMeterialName(String meterialName) 
    {
        this.meterialName = meterialName;
    }

    public String getMeterialName() 
    {
        return meterialName;
    }
    public void setMeterialSpec(String meterialSpec) 
    {
        this.meterialSpec = meterialSpec;
    }

    public String getMeterialSpec() 
    {
        return meterialSpec;
    }
    public void setMeterialUnit(String meterialUnit) 
    {
        this.meterialUnit = meterialUnit;
    }

    public String getMeterialUnit() 
    {
        return meterialUnit;
    }
    public void setMeterialBrand(String meterialBrand) 
    {
        this.meterialBrand = meterialBrand;
    }

    public String getMeterialBrand() 
    {
        return meterialBrand;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("meterialName", getMeterialName())
            .append("meterialSpec", getMeterialSpec())
            .append("meterialUnit", getMeterialUnit())
            .append("meterialBrand", getMeterialBrand())
            .append("number", getNumber())
            .append("storeId", getStoreId())
            .append("remark", getRemark())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
